package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 病程记录对象 ai_course
 * 
 * @author wmb
 * @date 2020-09-01
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 病人id */
    @Excel(name = "病人id")
    private Long patientId;

    /** 入院记录id */
    @Excel(name = "入院记录id")
    private Long admissionId;

    /** 主诉 */
    @Excel(name = "主诉")
    private String complain;

    /** 诊断 */
    @Excel(name = "诊断")
    private String diagnosis;

    /** 辅助试验检查结果 */
    @Excel(name = "辅助试验检查结果")
    private String auxiliary;

    private String drugName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setAdmissionId(Long admissionId) 
    {
        this.admissionId = admissionId;
    }

    public Long getAdmissionId() 
    {
        return admissionId;
    }
    public void setComplain(String complain) 
    {
        this.complain = complain;
    }

    public String getComplain() 
    {
        return complain;
    }
    public void setDiagnosis(String diagnosis) 
    {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis() 
    {
        return diagnosis;
    }
    public void setAuxiliary(String auxiliary) 
    {
        this.auxiliary = auxiliary;
    }

    public String getAuxiliary() 
    {
        return auxiliary;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("admissionId", getAdmissionId())
            .append("complain", getComplain())
            .append("diagnosis", getDiagnosis())
            .append("auxiliary", getAuxiliary())
            .toString();
    }
}
